package com.gsc.funnycode.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gsc.funnycode.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;


/**
 * @Author: Orange
 * @Date: 16:40 2022/4/27
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    @Select("select * from user where account = #{account}")
    User getByAccount(String account);
}
